<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Hello World Window Example</title>
    
    <style type="text/css">
        .x-window-dlg .ext-mb-download {
            background:transparent url(images/download.gif) no-repeat top left;
            height:46px;
        }
    </style>

    
</head>
<body>
<h1>MessageBox Dialogs</h1>
<p>The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.</p>
<p>The js is not minified so it is readable. See <a href="msg-box.js">msg-box.js</a>.</p>

<p>
    <b>Confirm</b><br />

    Standard Yes/No dialog.
    <button wicket:id="mb1">Show</button>
</p>

<p>
    <b>Prompt</b><br />
    Standard prompt dialog.
    <button wicket:id="mb2">Show</button>
</p>

<p>

    <b>Multi-line Prompt</b><br />
    A multi-line prompt dialog.
    <button wicket:id="mb3">Show</button>
</p>

<p>
    <b>Yes/No/Cancel</b><br />
    Standard Yes/No/Cancel dialog.
    <button wicket:id="mb4">Show</button>

</p>

<p>
    <b>Progress Dialog</b><br />
    Dialog with measured progress bar.
    <button wicket:id="mb6">Show</button>
</p>

<p>
    <b>Wait Dialog</b><br />
    Dialog with indefinite progress bar and custom icon (will close after 8 sec).
    <button wicket:id="mb7">Show</button>

</p>

<p>
    <b>Alert</b><br />
    Standard alert message dialog.
    <button wicket:id="mb8">Show</button>
</p>

<form wicket:id="form" style="margin: 0;">
    <p>
        <b>Icons</b><br />
	    Standard alert with optional icon.
        <select wicket:id="icons" />
        <button wicket:id="mb9">Show</button>
    </p>
</form>

</body>
</html>
